package com.sky.service;

import com.sky.entity.AddressBook;

import java.util.List;

public interface AddressService {
    void insertAddress(AddressBook addressBook);


    List<AddressBook> listByUserId(long userId);

    AddressBook getDefault(long userId);

    void setDefault(Long id);

    void delete(Long id);

    AddressBook getById(Long id);

    void update(AddressBook addressBook);
}
